package com.xinhe.web.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "tb_value_config")
@ApiModel(description = "系统控制值配置详情")
public class ValueConfig {

    @Id
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("配置值")
    private String value;
    @ApiModelProperty("分类")
    private String type;
    @ApiModelProperty("使用安全范围")
    private Integer scope;
    @JsonIgnore
    protected Date createTime;
    @JsonIgnore
    protected String createUserId;
    @JsonIgnore
    protected Date updateTime;
    @JsonIgnore
    protected String updateUserId;
    protected String remark;
    @JsonIgnore
    protected Integer removed = Integer.valueOf(0);

}
